import { BasicPageParams, BasicFetchResult, DataFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type DemoParams = BasicPageParams;

export interface HouseCheckPageParams {
  page: number;
  pageSize: number;
  id: String;
  text?: String;
  fwbh?: String;
  pcztHousing?: number;
  pcztFire?: number;
  pcztPolice?: number;
  pczt?: number;
}

export interface DemoListItem {
  id: string;
  beginTime: string;
  endTime: string;
  address: string;
  name: string;
  no: number;
  status: number;
}

export interface HouseListItem {
  id: string;
  province: string;
  city: string;
  address: string;
  xzqdm: string;
  town: string;
  village: string;
  buildTime: number;
}

/**
 * @description: Request list return value
 */
export type DemoListGetResultModel = BasicFetchResult<DemoListItem>;

export type HouseListGetResultModel = DataFetchResult<HouseListItem>;
